{extend name="base/nei" }

{block name="body"}
<style>
  .zb-list {
    /*margin-top: 50px;*/
    padding: 10px 20px;
    font-size: 14px;
  }

  .zb-item {
    width: 100%;
    background: url('/assets/wap/app2.gif') no-repeat;
    background-size: 14px 14px;
    background-position: left center;
    white-space: nowrap;
    overflow: hidden;
    line-height: 25px;

  }

  .zb-item a {
    color: #3F80B8;
    margin-left: 20px;
  }

  .paging ul li {
    float: left;
    width: 50%;
  }

  .paging ul li span,
  .paging ul li a {
    text-align: center;
    font-size: 25px;
    border: #3F80B8 solid 1px;
    display: block;
    margin: 0 10px;
  }
</style>
<div class="zb-list">
  <?php foreach($doclist as $v): ?>
  <div class="zb-item">
    <a href="/zhiboi/<?php echo $v['id']; ?>">
      <?php echo date("Y年m月d日 H:i" , $v['ts']) . ' ' . $v['cup_title'] .' '.$v['ha'].' 视频直播'; ?>
    </a>
  </div>
  <?php endforeach; ?>
</div>

<div class='m-page'>
  <a class='disabled' href='?page=1'>首页</a>
  <a class='disabled' href='<?php echo '
    ?page='.($doclist->currentPage()-1 > 1 ? $doclist->currentPage()-1 : 1); ?>'>上页</a>
  <div class='pager_btn'>
    <span class='page_num'>
      <?php echo $doclist->currentPage(); ?>/
      <?php echo $doclist->lastPage(); ?>
    </span>
  </div>
  <a class='disabled' href='<?php echo '
    ?page='.($doclist->currentPage() < $doclist->lastPage() ? $doclist->currentPage()+1 : $doclist->lastPage()); ?>'>下页</a>
  <a class='disabled' href='<?php echo ' ?page='.$doclist->lastPage(); ?>'>末页</a>
</div>

{/block}